using Shop.Core.Share;
using Shop.Model.Dto.Admin.Contract;
using Shop.Model.View.Admin.Contract;

namespace Shop.IServices.Admin;

public interface IApproveAContractService
{
    /// <summary>
    /// 合同查询
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    AppResult<PageModel<ContractListVo>> ContractSearch(ContractPageSearchDto input);

    /// <summary>
    /// 合同审核
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<AppResult> ContractReview(ContractReviewDto input);

    /// <summary>
    /// 合同详情
    /// </summary>
    /// <param name="dto"></param>
    /// <returns></returns>
    AppResult<ContractVo> ContractInfo(long dto);
}